package top.itmeans.yes.entity;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 普通会员表
 * </p>
 *
 * @author Yiming.Cao
 * @since 2022-05-05
 */
@Getter
@Setter
@TableName("t_member")
@ApiModel(value = "Member对象", description = "普通会员表")
public class Member implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("普通用户表ID")
    private Long id;

    @ApiModelProperty("用户名/账号")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("昵称")
    private String nickname;

    @ApiModelProperty("手机号码")
    private String phone;

    @ApiModelProperty("注册时间")
    private LocalDateTime createTime;

    @ApiModelProperty("帐号启用状态:0->启用；1->禁用")
    @TableLogic
    private Integer status;

    @ApiModelProperty("头像")
    private String icon;

    @ApiModelProperty("性别：0->未知；1->男；2->女")
    private Integer gender;

    @ApiModelProperty("生日")
    private LocalDate birthday;

    @ApiModelProperty("所住城市")
    private String city;

    @ApiModelProperty("职业")
    private String job;

    @ApiModelProperty("个性签名")
    private String personalizedSignature;

    @ApiModelProperty("成长值")
    private Integer growth;


}
